package com.ssy.lingxi.order.api.model.openapi.request;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.io.Serializable;

/**
 * 订单收货接口参数
 * @author 万宁
 * @version 2.0.0
 * @date 2021-10-16
 */
public class OpenApiOrderReceiveVO implements Serializable {
    private static final long serialVersionUID = 6727081726268748880L;

    /**
     * 订单Id
     */
    @NotNull(message = "订单Id要大于0")
    @Positive(message = "订单Id要大于0")
    private Long orderId;

    /**
     * 发货批次
     */
    @NotNull(message = "发货批次要大于0")
    @Positive(message = "发货批次要大于0")
    private Integer batchNo;

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Integer getBatchNo() {
        return batchNo;
    }

    public void setBatchNo(Integer batchNo) {
        this.batchNo = batchNo;
    }
}
